package com.ss.android.article.base.feature.feed.a;

import com.ss.android.article.base.utils.a.SharedPreferenceUtils;
import com.ss.android.common.util.Singleton;

import java.util.HashMap;

public final class a {
    public static final String[] a = new String[]{"__all__"};
    public final HashMap b = new HashMap();
    public boolean c = true;
    private static Singleton<a> d = new b();

    public a() {
        SharedPreferenceUtils.inst();
        this.c = SharedPreferenceUtils.getSharedPreference("SP_DATA_PRELOAD_SETTINGS").getBoolean("KEY_SHOULD_PRELOAD", this.c);
    }
    public static a a() {
        return d.get();
    }

    public static void a(boolean arg2) {
        SharedPreferenceUtils.inst();
        SharedPreferenceUtils.getEditor("SP_DATA_PRELOAD_SETTINGS").putBoolean("KEY_SHOULD_PRELOAD", arg2);
    }
}

